package edu.washington.ling.syntric.fold;

import java.util.LinkedList;
import java.util.List;

public class Fold {
	private List<String> trainExampleIDs;
	private List<String> testExampleIDs;
	private Integer id;
	public Fold(List<String> trainFileNames, List<String> testFileNames, int id) {
		this.trainExampleIDs = trainFileNames;
		this.testExampleIDs = testFileNames;
		this.id = id;
	}
	public List<String> getTrainExampleIDs() {
		return trainExampleIDs;
	}
	public List<String> getTestExampleIDs() {
		return testExampleIDs;
	}
	public List<String> getExampleIDs() {
		List<String> fileNames = new LinkedList<String>();
		fileNames.addAll(trainExampleIDs);
		fileNames.addAll(testExampleIDs);
		return fileNames;
	}
	public Integer getFoldID() {
		return id;
	}
}
